<ul [ngStyle]="{ 'background-color': backgroundColor }">
  <li *ngFor="let menu of menus; let index; let even = even; let odd = odd" [ngClass]="{ even: even, odd: odd }">
    <a
      [ngStyle]="{ color: index === selectedIndex ? titleActiveColor : titleColor }"
      (click)="handleSelection(index)"
    >
      {{menu.title}}
    </a>
    <span
      *ngIf="menu.link === selectedTabLink"
      class="indicator"
      [ngStyle]="{ 'background-color': indicatorColor }"
    ></span>
  </li>
</ul>
<ng-content></ng-content>
